.tools{
    min-width: 160px;
    max-width: 500px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.957);
    position: fixed;
    z-index: 2;
    top: 1vh;
    backdrop-filter: blur(10px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    transition: all 8s linear;
    

    .tool{
        flex-shrink: 0;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        color: white;
        border: 1px solid rgb(247, 234, 234);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        margin: 0 5px;
        transition: all 0.3s ;
        &:hover{
           transform: scale(110%);
        }
        &:active{
            color: gray;
            transform: scale(98%);
        }
    }
    .out{
       
        border-color: transparent;
        color: rgb(73, 73, 73);
        font-weight: bold;
        // position: absolute;
        // right: 0;
        animation-name: toolboth;
        animation-duration: 0.5s;
        animation-fill-mode: both;
        animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
        position: relative;
        // right: 100px;
    }
    .die{
        // position: absolute;
        width: 0;
        height: 0;
        position: relative;
        animation-name: tooldie;
        animation-duration: 0.5s;
        animation-fill-mode: both;
        animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
        
    }
    .stop{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: black;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        animation-name: stopboth;
        animation-duration: 0.8s;
        animation-fill-mode: both;
        animation-timing-function: cubic-bezier(0.895, 0.03, 0.685, 0.22);
    }
    .play{
        width: 0;
        height: 0;
    }
}

.box{
    position: absolute;
    width: 400px;
    height: 500px;
    // background-color: rgba(255, 102, 20, 0.239);
    z-index: 1;
    // left: 0%;
    top: 0%;
    border-radius: 50%;
    transform-style: preserve-3d;
    transform: rotateY(50deg) translateZ(-200px);
    transition: all 0.3s linear;
    
    .point{
        width: 40px ;
        height: 40px;
        background-color: rgb(255, 206, 29);
        top: 50%;
        position: absolute;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        transition: all 0.5s linear;
        filter: blur(4px);
        &::after{
            width:1800px;
            height: 80px;
            background-color: rgba(247, 247, 211, 0.191);
            content: " ";
            position: absolute;
            filter: blur(10px);
            border-radius: 100px;
            border-top-left-radius: 100%;
            border-bottom-left-radius: 100%;
                        // top: -100px;
            // left: 100px;
        }
    }
}

@keyframes toolboth {
    0% {
        transform: translateX(-30px);
        margin: 0 0.1px;
        background-color: rgb(14, 13, 13);
    }

    100% {
        transform: scale(100%) translateX(0px);
        margin: 0 10px;
        background-color: rgb(39, 255, 125);
    }
}

@keyframes tooldie {

    0% {
        transform: scale(100%) translateX(0px);
        margin: 0 10px;
        background-color: rgb(39, 255, 125);
    }
    100% {
        transform: scale(1%) translateX(-30px);
        margin: 0 0;
        background-color: rgb(14, 13, 13);
    }

}

@keyframes stopboth {
    0%{
        // position: relative;

        right: 5px;
    }
    80%{
        background-color: black;
        right: -50px;
    }
    85%{
        position: absolute;
    }
    100%{
        // position: relative;
        right: -48px;
        background-color: red;
        position: absolute;
    }
}